/**
 * Copyright (c) 2018, 2019
 * Author:  Yue
 * Date:    2019/3/21 21:36
 * History:
 */
package com.scauxg.restaurant.common;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 信息转发
 *
 * @author Yue
 * @create 2019/3/21
 * @since 1.0.0
 */
@Controller
@RequestMapping("/main")
public class MainController {
    private String prefix = "main";

    @GetMapping()
    public String menu() {
        return "welcome";
    }


    @GetMapping("/welcome")
    public String add() {
        return "welcome";
    }


}
